x86: allow Meltdown band-aid to be disabled
authorJan Beulich <jbeulich@suse.com>
Tue, 16 Jan 2018 16:50:59 +0000 (17:50 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 16 Jan 2018 16:50:59 +0000 (17:50 +0100)
commite871e80c38547d9faefc6604532ba3e985e65873
tree9049bfe5a8e13ba2b3dd13e42d5419a0d8e48c7f
parent5784de3e2067ed73efc2fe42e62831e8ae7f46c4
x86: allow Meltdown band-aid to be disabled

First of all we don't need it on AMD systems. Additionally allow its use
to be controlled by command line option. For best backportability, this
intentionally doesn't use alternative instruction patching to achieve
the intended effect - while we likely want it, this will be later
follow-up.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
docs/misc/xen-command-line.markdown
xen/arch/x86/domain.c
xen/arch/x86/mm.c
xen/arch/x86/smpboot.c
xen/arch/x86/x86_64/entry.S